#! /usr/bin/env python
# -*- coding: utf-8 -*-

# Copyright (c) Huoty, All rights reserved
# Author: Huoty <sudohuoty@163.com>
# CreateTime: 2020-01-16 10:19:48


class ArrayQueue(object):

    def __init__(self):
        self._items = []

    def __repr__(self):
        return "{}(size={})".format(self.__class__.__name__, len(self))

    def __len__(self):
        return len(self._items)

    def __iter__(self):
        return (item for item in self._items)

    def __contains__(self, item):
        return item in self._items

    def __add__(self, other):
        return self._items + other

    def __eq__(self, other):
        return self._items == other

    def peek(self):
        return self._items[-1]

    def add(self, item):
        pass

    def pop(self):
        pass

    def clear(self):
        pass


if __name__ == "__main__":
    pass
